package com.fjwt.gz.service.mapper;

import com.fjwt.gz.db.entity.AgentEquityEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjwt.gz.db.vo.AgentEquityVO;

import java.util.List;

/**
 * <p>
 * 资产等级权益表 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface AgentEquityMapper extends BaseMapper<AgentEquityEntity> {

    List<AgentEquityVO> selectLevelEquity(int pid, String agentNo);

    List<AgentEquityVO> selectParentLevelEquity(int level, String agentNo);

    AgentEquityVO getAssetLevelEquity(int level, String agentNo);

}
